fix switch logic
improve tweet error reporting
add timestamp to every tweet
improve action logic