Send and emit messages when going through exits. Closes #72.