complete rewrite. inspired by lwpgt.
Buttons, Checkox and textbox now works. Click sound added.
test image for ImageFrame added.
Select now works. Added buttons with images instead of text.
refactoring. Makes the code nicer and more compact.