fixing latest issues

fixes Makopo/sublime-text-lsl#21
fixes Makopo/sublime-text-lsl#22