Bug fixes and error handling for local visualiser script.