Changed internal JFrames to JPanels and fixed bugs
Cleaned code and added count to header