Fixed brightness problem. Debugging the corner problem.
Fixed false color with naive approach. Added distance weighting and importance map.