Layers/Frames/Timeline updates

Major changes to all the layer, frame, and timeline systems.
Timeline rendering code significantly simplified to reduce every bit of
cpu load possible. Keyframe rendering to come next.