Added Control::smGetNextControlID() for enumerating controls (its more unique than using "(WORD)this").
Properly deletion of controls.