did a little refactoring plus added rss reader flash messages.