Gui fully working now.

All sorted with BASIC BASIC gui. Had to add conditions to the Activate
methods and added a check on the paint for easier debugging.