Adding ability to customise GUIDs
Make GuidGenerator a singleton and improve dialog behaviour
Update IndentationSettings to use same design pattern as other forms and incidentally fix a bug that Cancel still applies settings.