renamed file, set window title, and fixed a couple simple bugs