Added support for ApplyImage and Invert actions.
Consistency: the last modified item will be the active one in almost
every case.
Fixed advanced example in readme file.