I'm sort of rushing at the moment, so I can't go into it thoroughly.
Basically (strictly style-wise)
undescriptive variable names
no indenting (maybe you did a little, but far too sparsely)
use of functions when a switch case would have been more effective
to name a few.
And I like the way mine handles more than the way yours handles. I was disatisfied. I liked the idea of the original controls, it just needed to be done better.
I was running low on time, so I didn't code any hard limits to the various boxes as to where they could and could not (such as out of bounds) and I was going to add some lines that could be drug, and have the blue boxes dissapear if the height or width became too narrow.
But it all takes time and I'm porting to C++, using an entirely new GUI so it seemed sort of a waste.