added message preview
updated libraries
added getnewmessagecount method