-- For killing bugged out gui script screens.

dfhack.screen.dismiss(dfhack.gui.getCurViewscreen())