Idea code inspections

If there is anything to be changed, comment on all of it so I can fix it in one push.