Added settings for light generation and gamemode. No GUI support yet.