Cleaned up ParameterPanel because it had too many utility functions.