fix for issue # 18 and cleared up some presentation issues. Also show references at top of results.