Removed unneccessary 'tail-' prefix from HTML IDs. Simplifications to the lucidtail function