added simple swing-based console