More refactoring, added basic input events to UI elements
UIViewCollection is now aware of which window it inhabits