Made a bunch of the sub windows functional