Initial work on redshift compatability, ui changes