minor cleanup of comments and code order
minor refactoring cleanup (removed logging and visibility features)
using now basicgui+gui instead of just gui (refactoring)