Did a bit of cleaning up.

Changed trigger handler in model transcriber to perform AWT events on
the connection thread by using the invokeAndWait method on
SwingUtilities.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>