refactoring/cleanup of super dev mode start script

Why the heck did I write this as a shell script?  I hate
shell scripts.