remove debug output
fix resize window factor and make some char* const