Revamps logging, and moves local backend towards some decent and proper window setup