Fix case if project is imported with no tracks. Removed other dead code from even earlier attempts