Implemented Log_Error properly
Changed return value
Initial limit should be max of long
Fixed return codes causing launch to fail