not sure if any of this is correct...bit I have moved some of the pane infos over to notebook pages (to match master...) don't try and compile this.
Revert "not sure if any of this is correct...bit I have moved some of the pane infos over to notebook pages (to match master...) don't try and compile this."

This reverts commit 977aa873f62f61e20c3d3ea973f80467c3dcf135.
Fixed a crashing bug to do with clicking any button other than resize on a pane.