removed debug mode, renamed window