Replaced debug code with an abstract method. panel is also protected
temporarily. Also, added a neglected security measure to ByteColor.