Updated project generator script to always order assemblies (it didn't do that for me on Linux) and to fix minor issues