Implement patrol points and fix some $.extend() issues.

Signed-off-by: Zach Bennett <xslingshot@gmail.com>