css changes; fixing Nil exception on keydown