Mass and critical velocity of domain walls in thin magnetic films