ShellCheck mkdbs. Neat!
Reorganize Matt's scripts
Remove a bunch of old, unused functions
Move $ function to bottom to delay shellcheck barf

Let it barf at the very end since it just can't parse this function.
shellcheck fixes!