Fixed a bug when resizing some windows

Added more debugging messages
Disabled debug
Updated version