added more panel base stuff, experiencing a segmentation fault, check on windows