A plethora of changes to make the demo work.

Signed-off-by: Ben Corlett <bencorlett@me.com>