Fixed null problem with links
Fixed version bug when there are more then one event in a commit
Fixed some warnings