Cleaned up some code and added comments
Added new clickable star function