Performance tweaks, added userinit