unable to get theme name in function stat_block()

simple fix for showing of icon_log.gif in 2.1 wont work by default.