Fixes #8: GUI not disabeled when not updated.
Fixes #8: GUI not disabeled when not updated.

Two new functions disable_UI and enable_UI were introduced
to simplify disabling and enabling GUI. Menuitems
availability was also modified and added to these
functions. GUI was also disabled after settins change.

lumik/bgcor