
########################################
####------  Main programm  ------- ####
######################################

##-- Build the mainwindow, go to the Eventloop and exit when leaving the loop --##
if (startup_check == $true) {
        ##-- Read in the configfile --##
        read_conf;
        ##-- Load the logo --##
        load_logo;
        ##-- Get all card-info and card-config once --##
        get_all_stats;

        ##-- Build Mainwindow --#
        build_mainwindow;
        main Gtk;
}
exit (0);
########################################
####------        END      ------- ####
######################################


