Bug fixes and iframe loadability checks