Replaced a bunch of hard coded strings with references to resources.