saving before branch switch
removed some logging, screen_off logging