improved pythonlab code completion
minor improvement
minor fixes