Bug 944249 - move the segment size and send button management to Compose

eventually I'd like to call this event 'typechange' instead of 'type'; but I didn't want to do this in this patch