Simplified animation scripts. Added synchronisation to threaded animator