fixes to randomizer

major randomizer update and fixes, with removal of all deprecated
functions and fixing to RPC fixLag code. (might need more tweaking)