Engine compiles and runs again. Modelgen is now for creating files - not directly making models, few bugfixes and some cleaning