Making the result page more complete; external css sheet is not working; some code cleanup