Thanks a lot for the in-depth review!
I haven't reached the polishing and optimization phase yet, so hopefully I'll be able to improve things enough on those more egregious area soon.