Added median colour grabbing... but I don't think it works right.
Fixed median colour method. Select colour method functionality works now.