Added some basic logging to all create functions.
...
Fixed some issues to make the static code analysis happy.
Implemented wrapper for arrays (static or not) called Array.