Update plugin for proper use of $wpdb class

Update plugin for proper use of $wpdb class.  Use $wpdb->prepare
throughout plugin.  Clean up and remove comments and debug code.  Update
version number