Ok, so I've compiled the program but when it runs, it screws up my screen resolution and doesn't ever really do anything. No GUI shows up. Here's the output from terminal if that will help. It looks like it's trying to go fullscreen, which I don't want it to do but can't find the setting to keep it from trying.
$ ./ScanTool X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 129 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) Value in failed request: 0x3a00008 Serial number of failed request: 137 Current serial number in output stream: 143 ^CAborted