gui
bugfix
synchronization for listeners