Fixed bug in linked list search for task removal, some more small updates to motion.