Changes for loading projects. Segfaults in instrument.cpp, line 63.