Implement atoi() for ODWY0440.

This fixes the last *known* bug in ODWY0440.
I haven't checked yet whether the game is winnable, though.
Fix a bunch of ADV440 bugs found by playtesting.