Add var for title element; add check for null el in cleanMQstr; add chec...

Add var for title el;
Added check for missing title el so error is not thrown trying to access getPropertyValue off of null;
Added check for title before calling split on return value of cleanMQstr for same reason;