Fixed bug with local storage not being initalized

Used more standard frame