fix main_window default size, minor declaration changes
function declaration changes to better demonstrate what functions
take as argument