lots of changes and fixes. I need to commit more. The biggest thing added is the ability to update and delete images