- Fixed problem with text extent background not being displayed after load/new.
 - Tidied/simplified some of the code for updating the text extent also.
Focus now restored on text widget after unsaved dialog is closed.