makes the dispatcher editor work and some smaller code improvements