Added Window and loop.h