Adding some more interruption routines for more safety around critical sections (especially if there are nested ones)