Fix bugs in TinySimulator

Closes #92
Fixes the change of 32bit ESI to 16bit SI.
Merge pull request #100 from charsleysa/metadata

Fix bugs in TinySimulator