Added better event capability, added a panic feature for major error reports