Bug fixes, added grid/blog layout toggle