Added appmessenger stuff, may not be working yet.