The spinner means the UI process has switched tabs but the content process hasn't painted the tab content yet. Possibly because it's doing something else (like running script).
Is there a particular site that causes this to happen when you have it loaded? If you're willing to spend some time troubleshooting or profiling this, please let me know and I'll walk you through some ways to do that...