Added panel option, to change root panel element.

Resolves #66. Thanks to Modika for the original source work.