Fixed drawing issue, added initial AI stuff