Hand holding.

All changes completely untested.
Change fopen()/fclose() perrors to look normal.
Add hob/lob stuff and switch unimportant TODOs.