Fixed issue with fetching existing grid state

Move the initGrid code out of the IsLocal block in the grid.js initgrid
function. Also changed the placement of the username in the browser.