Modified to export classes for subclassing, modified iframe() to take src argument.