Fix the unset variable sl_linked_postid message.

Using the currentLocation object facilitates these types of things.

closes #69