Window and widget improvements.

Code refactoring, added OptionMenu for block type. Extended cmd() to convert block type strings to integers. New always on top window with better size.