Improved carddata class. Constructors set time correctly, title now gets trimmed, setter functions return eventually modified strings.