Add camera hook, fix cursors and window memory

:)