added patches to extend profiler for creating nested menu items, nested node menu entries and custom blocks