I have managed to move my Layers window and now it won't dock back on the sideline but floats. Is there an easy way to reattach it?
You should be able to drag it next to the Channels and Paths panel until that panel glows. Or if you saved your workspace (or just use the default one), you can reset it from the drop down top right.