fixed cpu usage, initial gui state