added grab color to preferences; hid function name color; fixed preferences read/write; fixed minor bugs