Fixed an IE issue, tidied css, cleaned up model