Fixed password encoding and table name.
Auto-saving is now done every 30 secondes or every 100 keyups.
Added basic shortcuts and improved document UI.