Bug fixes for TriView, optimised BytecodeLoader