Code cleaning and commenting, small tweaks to dynamic text and results text