shade undo/redo

- undo/redo buttons show when they're usable by changing shade
- fixed bug with displaying thumbnail.