cleaned up, added quit button