1.6.5 - Fixed mess with web page titling which brok command line

- Title being passed back from command function was breaking go_to function when used from the command line
  Changed so title is now a global to simplify functions and stop error
- Improved some error messages, added missing html page titles