Added error message on message sending, minfixes
Added clean task