mass keyboard rewrite, more network tweaks. keyboard server client sync remains