make cairo error not fatal
refresh notebook when needed