fixed console cursor; fixes #24