log: added a logger
gitignore log files
make: added DEBUG flag
example
window: api changes because window_t now stores it's internal window pointer by being the pointer itself
layout: refactoring due to the window api changes
+ api changes of our own