cleanup & todo's for map
Fixed stack test
Enabled functions chaining (for functions with no results)