Added possibility to pass data with callbacks
Fixed several memory issues
Fixed undefined Block, B_REG no longer available