Refactoring of UI package.
Improved ui
Fixed frame rate stabilizer.

Now the frame rate is really adjusted to the target value.
Improved frequency meter, reduced jittering.
Added update rate.

+ Added stabilizing of update rate.
+ Added display of update rate.
Added UIButton and event logic.
Added settings frame.

Made window size configurable.
Added frame/update rate setting + improved ui.