fixing the gradients of the colors to be more pleasing
removing some dead code