Changed wat Panel constructor I used, nailed a few bugs