m10.c: Fix crash; also fix flipscreen [Alex Jackson]