On blur, only save buffers that need saving

prevents errors when leaving files opened from jars