Added a rating buttons and tool tips. Cleaned up some of the code.