split out the webserver frame making code.

So we can change the style of the page in a simple place
eventually. Note current webserver produces some debug
text and wrong size buttons whilst I experiment with
the layout. Visual artist I am not ..