core: Adding debug function, and possibility to not save notificatio with notify widget