Update displayitem

Changed syntax and internal workings noticeably.

(Old version didn't work much anyway...)