safety changes good

safety level moves according to time, and button presses
some thread optimization
debug window decimal formatting
showing toast from asynctask now available