little AI and some controlLock image goodness