Window.Close, File helpers

Signed-off-by: Jacob Buysse <Jacob.Buysse@gmail.com>