Made it possible to give appname, processid, and stuff like that.