Fixed lag issues and crash exploits

Fixed negative numbers and usage of large numbers in vault page numbers (fixes two crash exploits)

Added crude multithreading to fix potential lag spikes issues