Add nullptr checks for glow and glowutils (closes #67)