clear current message state on close

fixes #87 

@jancborchardt