moved radiopanel functions to seperate class
clear panels when simulator closes