fix palette in til2png
add stb format
misc style updates