LEM1802: SET_BORDER_COLOR implemented; some issues fixed; code optimized