Fixed compilation errors; Program runs!

I fixed the critical compilation errors. We can now run the program. I
added a LOT of TODO comments to code. Please review your portions
carefully.
Check Move Options function