Made chunk generation generic, made Firefox report error that was happening (no WebSockets inside of Workers)
Added perlin map generation.