Mostly finished LatchManager, started WindowedManager
Removed Error structs, now using error vars. Cleaned up entire API to use pointer