Mark 'tvnamer-gui' as a GUI script
General code tidying