Completely refactored panels rendering implemantations.