Moved stdlog.d to right place.
Incapsulate event loop and window example

Added method to incapsulate complex event loops in core. Fetching window
example from
debug code.
Updated gitignore and added sublime simple project