Readying up for building in release mode.
Ports for Android's odd behavior of recalling main without killing the process, meaning statics in functions hang around and point to invalid memory, and thus are bad. (I should have known this anyway, really.)