Finished the window component of the framework