Control app freezes on startup