Correct strict standards error and initialize $app

display() method not compatible with JViewLegacy
$app object never initialized, causing fatal error