Added loading .wad files and other minor changes