Implemented automatic floor up/down; no more variables needed.
Also fixed a bug with spawn_events where the map is currently empty.
NB: you just call .generate and you're done, nothing more.