Cooldown counter implemented; bug fixes