Change errors UI related to locked/hidden layers to status bar tips

This was mainly done for Ctrl+click, so when we try to move the
Background layer, we avoid an annoying message box.
Fix crash when other app prevent us to recreate the primary DirectDraw surface (fix #542)
Fix crash changing ConfigureTools options when activeDoc == NULL
Redraw transformation handles when the quick tool is changed