change static to static std::atomic<> for debug and firmwareVersion that...

... are set once and never changed, make file vars const