Fixes for PHP 5.4 compliance. Removed syntax error in TripleList screen and added additional check to SimpleXml xpath returns for booleans to handle empty strings and arrays.