Made it so the image is written to a temporary file first, then deleted so it is far less likely to corrupt the file.
Added the excluded column to exclude images by default from a query and the `include_excluded` shortcode attribute to include them again.
Cleaned the main script, so things are called only if the plugin is active
Fixed minor name mistake
Added some todo shortcode attributes
*Broken Commit* Fixed issues with printing of images from shortcodes. All seem to be working now.
Starting on creating the gallery viewer/searcher.