Enhanched handlings.
Fixed warnings.
Improved automatic starting and stopping bot ai.