Starting to refactor the model browser as its own python class. Fixed a bug with the 'diagnose' feature on linux due to failed loading of an icon.