Change the way pinnable window are made visible

This ensure pinned window are not displayed in main menu, dialogue and
container mode.
Make the "lock window" button to change state visually
Make the "lock window" button appealing
Remove "PinToggle" event from layout file