Fixed an issue where the user was unable to play a move after resuming the board activity.
Clean up code.
A set of properties can now be passed when initializing an engine to allow more optimization.