Units for chocolate!

With nice lambdas.
Fix HUD images reappearing when smaller than 0x0.