Russel thanks for looking at it. I've commented out the icon stuff which you rightly saw was irrelevant anyway so hopefully it will build and run and crash "properly" now!