This provides basic functions for interacting with windows