make clipboard copy work + start server: change state earlier + removed debug print