Made options window and other refinements.