Merge pull request #204 from Chilledheart/develop

several trivial fixes
fixed a bug causing cpu usage even when idle
reduce api requests when tabs are not shown