Some refactoring. RenderBlock events fully implemented and working.