AHAHHA BUNCH OF UNDOCUMENTED STUFF AHAHAHA.

Still need to get something working here, sorry.