Replace Verilog demo code with something that's not GPL-ed

Closes #1292
Try to make page-up + page-down place the cursor back in its old place

Closes #1291
Add leaveSubmitMethodAlone option to disable form submit hack