updated changelog; removed useless stencil clear; improved solid color detection; some code improvements