Fixed some bugs, added outgoing message logging. This version really does work with rails
bumped version number