Changed iframe width and fixed logging