added dot sizes, minor cleanups
replaces shotdown <- true with Go idiom close(shutdown)