Tidy up

*Animation code has been tidied up
*Unused functions, classes and references have been removed
+Melt timer
+Melt failstate