Fix crc, value to array ordering, copyOfRange methonds uses. Added table repaint.