Add null reference checks.
Add null reference checks.

yatsek/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,polyethene/IronAHK,yatsek/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,polyethene/IronAHK,michaltakac/IronAHK,polyethene/IronAHK,polyethene/IronAHK,yatsek/IronAHK