Added getDominantColor, cleaned up a bit, changed options/usage