Two minor fixes for lg

Greetings, Telliamed! Here are three minor fixes for the lg library that I accumulated while working on KDScript. See the comment on GetWeather; I'll advise if anyone still gets crashes with this prototype.

Update 2013-07-13: Everyone who has tested my weather script since the change has no issues.
Update 2013-07-17: No longer includes GetWeather changes, as requested.