Added proper support for back button usage. Fixed bug in CPU AI that generated invalid moves. Added a delay to CPU action to feel more realistic.