ASSOCIATED PRESS BOSTON — President Barack Obama sought to inspire a stricken city and comfort an unnerved nation Thursday,