dwmstatus: move main loop into function
dwmstatus: move looping logic into setDvtmBar and setDwmBar
Move genOutput back into mainLoop now that it is simpler