code cleanup, added poll tab, dumps