moved console, fixed minor bugs