After being criticized for pessimism, US President incorporates humor into speeches, town hall meetings