adding support for a cooldown progress bar

Now when you use an action that has a cooldown, there's a progress bar to indicate how long before it can be used again.