Verified some closed parser bugs.
Fixed possible null reference exception.
Fixed completion bug.