Officials weighing measures to keep firearms from the mentally ill and unstable.