Added default values for width/height for layout
Made builder more stable
fixed relative paths bug