Fix some stuff about color changing.
Change all conects to function pointer syntax.