That's pretty good I have to say. I see some strange behaviour with some enemies (not always, I think you did a great job).
Nice job! I like it!