Optimized renderer for the console and gui (removed debug rendering -
which turned out to be quite slow).
Added generic memoization functions, and initial git diff parsing.