move callbacks to core from the imap js, add debug display logic to core
misc feeds fixes
misc fixes to core
style tweaks