Removal of tracks. Bugfix, where refreshing the track table was calling the wrong function. Indentation fixed for index.html's body.
Only purge tracks that are not used in views. If they are, then return an error message that points out the problem.