Removed some debug code
New defaults function
Fixed bug where new views did not have x, y, width, height values if not set