fixed cursor propagation issue;
finished message handlers;