Added a WPI metadata function.
Filter out the "double layers" in the metadata function.
Avoid drawing a stroke that doesn't belong to the current layer or second in time.
Layer markers and a "play" button to play back your drawing.