moved cleanup() to mainloop; sidewinder_data *sw now global