[AESH-73]
added equals check in Console.setPrompt
[AESH-74]
synch over lock object