updated window size, added stat reporting, and some other minor changes