Gone through MainPanel again - works