Removed unused variables, added option to overrule autostart for animation