Moved some files around for better structure.
.gitignore fix (hopefully)
Made the close and minimize buttons work.