Adding a versatile version of CustomPanel. Just an skeleon.
Adding popup menu.
Added new CustomPanel class for more versatile solution.