multiple fixes

-default values for width, height, xPosition, yPosition
-added two parameters to event (session and interface)
-removed console outs from LayoutManagerFunctions.js
API fixes

events according to the spec