Added lots of error checking around repo loading and updated UI.