Remove duplicate fields in references
Fix some code issues
Update styling of listings
Remove warnings