The simulation takes place in a separate thread that signals back to the gui. Made the output window more reasonable. Added a triggerTop and triggerBottom buttons.