A little styling and an on screen trace console.
Changed $_ to {} from [].