Added viewer for item arrays.

Cleaned up index.html some.
Items now store their type as well as their elements.
Added Frame and Button rendering.

These are incomplete, but have most properties implemented.

Button only draws normal, pressed, and flyby templates and doesn't
handle anchor/relative position properties yet.

Frame only does the first frame.