Extracted the breakpoint private class into a public class, and added an equals function for it.
Added a test for seeing if the main method end is detected.
Added exitedMain event to the Listener interface, Null and Aggregating.
DebuggerEventthread fires exitedMain when a breakpoint has been set, otherwise the whole system slows down. The filter needs changing.