Made a few modifications to stop spazzy color changes.