Finished adding gui code so the initialize button causes world.prepare to be called.
Fixed some bugs in World. Now if you enter values in the gui and press initialize world.prepare is called and seems to work. Still lacks some basic sanity checking of arguments.
Added default values to amount, width, height and seed fields.