switched to smart pointers for states; added jsoncpp + rudimentary config file loading/parsing; began work on pause menu; fixed some event loop bugs