bot completed and waiting for testing, various small fixes.