Limiting menu when using SimplyHTML
Fixed some issue with conversion of tree node to stream and back