added motion experiment, minor fixes to engine