first commit after the rewrite: replace slateobject by slatetype
warning:
windowslateo
sysslateo and the same for test equivalents are removed from building
TODO: look if they are needed in future remove them elsewise
breakpoint Error: invalid  use of incomplete type class slatearea
fix bug, add slateareas
fix bugs, make rewrite running (but functionality is missing)