added a bunch of error code to help users submit bug reports.

only bug reported so far was just "it doesn't work". now the code will
open up the bug reporting page and provide instructions and details
to copy+paste. unfortunately there seems to be no way to fill in the
details from a script (grr). oh, also tweaked copyright notice.
replace ugly alerts with html pages.