tidy up eldoc support functions
bugfixes in starting/stopping TR animation server