FINALLY GOT THE WINDOW WORKING. Plus a new startup window, and other changes.