Various opimizations

Performance optimisation
Loading callbacks improvements
Shorten var names