Big cleanup. Working clipboard and message sending.