start button works once now instead of autostart, implemented threading