Catch situations where currentframe() returns None. See SF patch #1447410, this is...