making some fixes, ensuring that workers not paid bonus twice, revising bonusinfo handler and csv download handler