added time limit functionality, improved heuristic, added timeout in final depth. But AI gives away corners and stuff. either a bug in alphabeta or the heuristic sucks.