This should fix nearly everything, except for that strange error with LockTarget, but that won't break anything