console works now, fixed threads