fix engine, adjust constants, adjust game windows

see code change history
merge