Slav i just realised what the scrolling problem might be (for some reason i wasnt paying proper attention when i read this thread the first time)
Plz dont flame me if i wrong btw
When i was coding my macro i noticed that whenever my bot scrolled the order lists in a downward direction the alignment of the list itself would change slightly per unit of scroll..
Soloution..
Have the bot scroll the list right to the bottom of the lists.. then have it scroll upwards instead of downwards, as it changes and checks orders... for some reason.. the list stays aligned in place.. if something from the list is bought or sold while its checking orders, the list will always be miss aligned afterwards.. I solved that problem by having my bot scroll to the bottom again every 5 orders then scroll the relavent ammount back up so that its back where it was before scrolling down. this action could also be carried out if a desync on the list is detected. as a way to help the bot recover from a sold or purchased item making the order dissapear.
In short.. have it scroll the list up instead of down as for some odd reason it stays aligned.
In your case (and in theory) if you have it scroll upwards.. and reset and reposition itself like i say above on desync detection.. it might improve it. unless of course you have found another soloution.