Bugfixin

Fixing the resizing and tooltip issues. Changing the colors. Formatting all the code.
`if (trfc[i].conversion_rate <= 1) `