fix modulus error
allow creation of elements with init params
clear buffers before draws
update example to use multiple elements
make sprite modes private
add framecount to stage
update example to show element animation
rename example
make more sensible defaults for elements
add comments to example