Added the panel name, added some drawing code