O'Malley promises gun control legislation in Md.