plugin functional, adding error handling.

there is a small oracle error that doesn't seem to be causing any
problems. other than that, the plugin seems to be working as expected.
should start adding finishing touches/polish functionality.