Working database stuff, and fixed button look.