-Overhauled main loop to be in its own thread

-Implemented wear based on power usage of blocks
-Updated API libraries
-Updated game libraries