twitter stuff, misc cleanup