Some stuff moved from main.py to q.kv