made it faster (by fixing a bug in the optimization ..equals) and added the delete option
made reset button more selective it applys only to the selected image now. Added a confirm message box to it