Okay, I did things that are less stupid.  I should probably get to work on the whole "actual plugin" part.