Add space in "virtual keyboard" input

Thanks to @fred-wang to request this.
Add IndexedDB support
Version with IndexedDB