Fixed some layout bugs and updated http settings