Massive commit.

Wrote the decoder, renderer, timer handling, key handling, opcode
limiting, and the skeleton code for all opcodes.