Working build for demo (with some input handling bugs)