don't display empty candles
calculations in thread
visual tweaks
code cleanup