Some more optimisations for n-body visualiser.