Many Fixes to game cycle, implemented capture

Capture is almost working, still needs some debugging.