fixed switching chart timespan issue, misc small fixes