According to your definition of xmouse it does half of what you want
Perhaps if you were more specific about what features you are looking for. Are you wanting a utility or some ahk code. This is a place to get help with ahk, perhaps you might want to look in the Utilities and Resources forum.
Have you looked in the scripts section for the behaviour you are after - Particularly niftywindows or something like it.
Have you tried to code something yourself? Changing the default behaviour of mouse buttons is fairly trivial for ahk. Have a look at the tutorial and examples in the manual/documentation.
BTW: xmouse2k works on XP too.