Fixed the issues with not setting up environment properly.

Also changed the window name. Haha. Whoops.
Played with some options related to building.