Enhanced settings window & database tables creation