Fixes for #146, #163

#146 - the preview function now removes doubles from the list to combat the issue with firefox inserting things into lists twice
#163 - media preview now restricted to 150px wide, and so will never overlap the colour select box.