use seconds rather than ticks for seeding
prevent buttons from being created excessively often instead of just issueing a warning
disable warnings
refactoring