More background and cursor work.