create stm_ui_init and fix typo
stm_ui_init initializes all base widgets and checks them