Added a way to check if the magnet link association is up.
Fixed tests and added windows callbacks.