lowered memory footprint and re-enabled kb input