Restore glutin close on escape functionality. Also fix linux compile error.