cleaned up and reorganized code

animation objects are primary, each with multiple layers, and you can
select a layer and it will show itself in the constructor block,
animation preview is working, got color palettes working again, got the
query selector all shortcut returning a real array, made shortcut of
getElementById