Lua, not Python. Needs 'end'.
Actually move forward enough
Fix unloading: caller wanted a number, not boolean