More excision from wip/carlosg/input-thread. This should allow merging gnome-shell!1405 (merged) early.