Added time messure
Adds z-index to debug field