more work on remote and styling and bug fix with waiting until iframe loaded before starting