stop wG before starting the installer; not actually useful; was getting "Internet server error" after running cleanup.sh and paranoidly did this.
turns out rm -rf'ing /data/WebGUI without stopping it first in cleanup.sh took out the pid file so the running instance couldn't be stopped by /etc/init.d/webgui8 stop and was very sad.
move the $SIG{__DIE__} hook up.
stop prompting on database create.  if it isn't there at default verbosity, just create it.
make sure wgd is executable.  weren't testing that and the logic was screwing this detail up in one code path.
set more environment variables in the webgui.sh and /etc/init.d/webgui8 scripts.
move the webgui8 service start stuff to where it's supposed to be, which is right after, not during, the services install.
fix fixing the log file permissions; standardize on .log over _log.