Dashboard header: avoid deprecated methods and accessing undefined vars
Dashboard header: avoid deprecated methods and accessing undefined vars

matt9mg/concrete5,avdevs/concrete5,matt9mg/concrete5,TimDix/concrete5,MichaelMaar/concrete5,matt9mg/concrete5,MichaelMaar/concrete5,TimDix/concrete5,TimDix/concrete5,avdevs/concrete5,MichaelMaar/concrete5,avdevs/concrete5