Addressed FoundBugs and cleaned up warnings throughout front end and test classes