Fixed collision detection, updated code connections to force-unwrapped declarations