Fixed widget sizes
Added timer to bring the window to front
Changed file open to platform dependent