tweaks

* keymatcher ignore keys out of range
* catch value errors
* reduce size of default int to fit in postgresql integer column
* ui tweaks