Graph merge

Detector updated, XNA graphics added & tested