replace abs with fabs

delete if-paths, that check static initialized arrays against NULL
initialize unselected color.
fix encoding problem
Merge branch 'bug-18082-ClangCompileError'