js: handle space on key up, not down
main: set gomaxprocs to n cores
dirwatch: standardize on go naming convention