added grid partial; alert helper classes; bug fixes