Fix bit iteration
Fix image orientation
Insure window has time to move to front