Attack speed above lvl 8 (when next cost is 16$) is useless: 122hp enemies have enough time to shoot. So maximum score is somewhere around 1600. My calculations give 1634, but by that time there will be swarm...
Sometimes a second enemy will come into range before the first enemy is defeated. This causes the tower to target the new enemy, which is really the only glitch in the game.