Hlint

cleanup some hlint warnings.

it can get kind of annoying for me to see all these warnings in vim, so i removed a few. feel free to disregard, if you like.

i don't like sections with regular function names, so i did not address these warnings. i also tried not to make it less readable (there are some "redundant" `$`s left which don't look as nice without).