Resized main window, Implemented functionality for Shopdirectory