Fixed tree view loading bug, all exercise library node bug and made some speed optimisations