Refactor world builder event handlers

The world builder event handlers have been moved into anonymous methods
since they are so small.