Some optimisations for the n-body visualiser.