Added support for error feedback
Fixed errors in mouse tracking