devcode backup

this is an almost entirely non-functional backup, y'all
devcode backup

still doesn't work yo, just replacing some redundant code & fixing
obvious bugs
added basic API apparatus; hotseat bugfix

yes
fixed some loadfile behavior
minor fixes
Merge pull request #2 from strangewarp/new-ideas

New ideas