Ah yes, I removed the -C switch and it works like a charm - albeit it removes all of my comments, though I suppose that's to be expected (and if someone really wants to read my comments they should be looking at the .phps files anyways
).
Anyhow, here is the completed global coord system, complete with documentation. It's probably not the most efficient system, but it was my first time messing around with octtrees, so I'm pretty happy with how it turned out.
http://www.mediafire.com/?qcbjj49je70di2u