MathOverflow will be down for maintenance for approximately 3 hours, starting Monday evening (06/24/2013) at approximately 9:00 PM Eastern time (UTC-4).
show/hide this revision's text 1 [made Community Wiki]

I think that in a borderline case like this, the math department is indeed the better choice.

At least according to my experience, the math community seems to be more flexible, give you a nicer environment and more freedom on what to work on. Also, it's a bit less competitive and the job options are better.

Read also the excellent advice of John Baez, http://math.ucr.edu/home/baez/advice.html .