Change IM layout to work with all layouts

Also switch to using Pidgin.