Added detection of unset locals and accessing uninitialized locals.