Watched it last night—great and disturbing performance by JP, but definitely overlong. They could have edited at least 15 minutes out of it. Found myself kind of bored in spots.
as for the ending—i seem to recall the therapist, earlier in the movie, saying that Arthur had been in Arkham. Maybe the ending was a flashback to that time?