use new poll method in frequency analysis and output some debugging information in GUI