handle possible NPE
Corrected license header (to ASLv2);  should've been changed when this file was moved from plutext-client-word2007