Some refactoring and some bug fixes.
Sometimes I'm dumb.
Merge branch 'master' of https://github.com/Continuities/adarkroom

Conflicts:
	css/main.css
	script/engine.js
	script/events/setpieces.js
	script/room.js
	script/space.js
	script/state_manager.js