Add grid toggle and export function.