Introducing canvas state, palette, to simplify elements.

1. Adding data types for color, position and rectangle (color16_t, pos8_t,
rect8_t).
2. Cleaning up draw/fill operations.
3. Refactoring element and textbox.
Updating class overview graph.
Updating class overview.