Made Red-Green display.
Changed some variable names to be more consistent.
Reordered some function declaration so they are declared in the same order they are used.