Fixed label operations bugs and implemented LogicMain.getLabelColor()