set minsize and maxsize to window

so we can't resize the widow
remove excel file support