Unknowns

Handle unknown types better.
* Unknown types export to the directory they were originally in.
* Router type is left on the root directory.
* App type that previously defines itself on the window is handled and possibly other window defines.
* Preprocess and split-file process are merged into one stage.