Add @media CSS extension. Fix problem loading programs page.

Add a CSS extension contributed by Andrew Radke that allows the native web UI to work on small screen devices such as tablets etc. Also fixed an error when loading the Programs page.