Fixed small bugs that didn't allow you to disable the demo mode.

Before this change you couldn't disable the demo mode. The 'demo' key of options array wasn't specified.