Add some code to initialise display.

This isn't complete yet. I'm putting up the framework in place.