Well I'm not too sure what was going on but I reconfigured monodevelop- query and everything is working fine now. -- Monodevelop caused mono crash https://launchpad.net/bugs/59142