wip; fixes and consoleapi
final fixes for console api