Removed layout errors from default brower paddings and margins. Also cleaned some code.