Cleaning up loading protocol.

* Fixed C generation to follow MIP as specified.
* Improved Unix loader tobe correct.
* Added better logging to loading.
* Made windows to subclass Unix for now.
* Added language loading hooks.