minor updates to css, views and bit of java, error checking and clean up