clean up gif and image plugins
fix bug in links.rb
handle private messages in irc