added onpreblockbreak event
first attempt to fix that notify thingy
some other stuff