bugfixes
GUI debugging